mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-08-23 17:47:29 +00:00
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
|
// transaction. Further details may be looked up by indexing a wire.MsgTx.TxOut
|
||||||
// with the Index field.
|
// with the Index field.
|
||||||
type CreditRecord struct {
|
type CreditRecord struct {
|
||||||
Index uint32
|
|
||||||
Amount btcutil.Amount
|
Amount btcutil.Amount
|
||||||
|
Index uint32
|
||||||
Spent bool
|
Spent bool
|
||||||
Change bool
|
Change bool
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue