Remove unnecessary uint32 type conversions.
This commit is contained in:
parent
f418fe3772
commit
0f808dc00f
2 changed files with 2 additions and 2 deletions
|
@ -2211,7 +2211,7 @@ func SignRawTransaction(icmd btcjson.Cmd) (interface{}, error) {
|
||||||
}
|
}
|
||||||
inputs[btcwire.OutPoint{
|
inputs[btcwire.OutPoint{
|
||||||
Hash: *inputSha,
|
Hash: *inputSha,
|
||||||
Index: uint32(rti.Vout),
|
Index: rti.Vout,
|
||||||
}] = script
|
}] = script
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -947,7 +947,7 @@ func (s *Store) Rollback(height int32) error {
|
||||||
}
|
}
|
||||||
op := btcwire.OutPoint{
|
op := btcwire.OutPoint{
|
||||||
Hash: *rr.Tx().Sha(),
|
Hash: *rr.Tx().Sha(),
|
||||||
Index: uint32(prev.OutputIndex),
|
Index: prev.OutputIndex,
|
||||||
}
|
}
|
||||||
s.unconfirmed.spentBlockOutPointKeys[op] = *prev
|
s.unconfirmed.spentBlockOutPointKeys[op] = *prev
|
||||||
s.unconfirmed.spentBlockOutPoints[*prev] = r
|
s.unconfirmed.spentBlockOutPoints[*prev] = r
|
||||||
|
|
Loading…
Add table
Reference in a new issue