Anyone can replicate this issue :
00:23:40 <MrSam> ok 00:23:47 <MrSam> i'm testing this on testnet-in-a-box with 2 nodes 00:23:55 <MrSam> a has 3650 / balance B has 0 00:24:14 <MrSam> i send 3600 from A to B with transaction fee cost of 9 00:24:28 <MrSam> so A now has balance of 41 and B will get 3600
00:24:44 <MrSam> i then start the miner on a and i get a immature block with amount 59
00:24:58 <MrSam> so i should have a balance of 100 00:25:05 <MrSam> but if i run getbalance i see 91
9 btc is lost. Either the balance on A should still be 41 and not include the immature block, or 100 if it includes it. Never 91.
client A:
balance = 3650
listtransactions
{
"account" : "",
"address" : "mjvtoRo55x4rfSftjAJcyKvpVkgi4LEDVD",
"category" : "send",
"amount" : -3600.00000000,
"fee" : -9.00000000,
"confirmations" : 1,
"txid" : "a8ff67cfe52ec04ed0b988419d2144077cb918cb889f9e4498b6a5fb0e63b18d",
"time" : 1308521616
},
{
"account" : "",
"category" : "immature",
"amount" : 59.00000000,
"confirmations" : 1,
"txid" : "1b504ca8c8f200c5d37b1095902b7610b10484b6b608e48bbfe2411c69d480a5",
"time" : 1308521869
}
]
getbalance 91.00000000
client B listtransactions { "account" : "getfrom1", "address" : "mjvtoRo55x4rfSftjAJcyKvpVkgi4LEDVD", "category" : "receive", "amount" : 3600.00000000, "confirmations" : 1, "txid" : "a8ff67cfe52ec04ed0b988419d2144077cb918cb889f9e4498b6a5fb0e63b18d", "time" : 1308521869 }
getbalance 3600.00000000