This commit is contained in:
Josh Rickmar 2013-10-13 19:27:30 -04:00
parent 97a942e499
commit eff1407afe

6
cmd.go
View file

@ -463,13 +463,13 @@ func (w *BtcWallet) newBlockTxHandler(result interface{}, e *btcjson.Error) bool
if !spent {
go func() {
u := &tx.Utxo{
Amt: uint64(amt),
Height: int64(height),
Amt: uint64(amt),
Height: int64(height),
Subscript: pkscript,
}
copy(u.Out.Hash[:], txhash[:])
u.Out.Index = uint32(index)
copy(u.AddrHash[:], receiverHash)
copy(u.BlockHash[:], blockhash[:])