Reorder wtxmgr.CreditRecord fields.
This reverses the order of index and amount fields to match DebitRecord and also saves 8 bytes per instance on amd64.
This commit is contained in:
parent
e5e239e124
commit
f7ed140a9b
1 changed files with 1 additions and 1 deletions
|
@ -28,8 +28,8 @@ import (
|
|||
// transaction. Further details may be looked up by indexing a wire.MsgTx.TxOut
|
||||
// with the Index field.
|
||||
type CreditRecord struct {
|
||||
Index uint32
|
||||
Amount btcutil.Amount
|
||||
Index uint32
|
||||
Spent bool
|
||||
Change bool
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue