Notes on payment amount

This commit is contained in:
Joseph Poon authored and Olaoluwa Osuntokun committed 2016-01-14 23:56:09 -08:00
1 parent 266c121510
commit b3f812e5da
4 files changed
+9 -13

No files matched your search

+1 -1
View File
@@ -362,10 +362,10 @@ func readElement(r io.Reader, element interface{}) error {
return err
}
hash, err := wire.NewShaHash(h[:])
(*e).PreviousOutPoint.Hash = *hash
if err != nil {
return err
}
(*e).PreviousOutPoint.Hash = *hash
//Index
var idxBytes [4]byte
_, err = io.ReadFull(r, idxBytes[:])