core: fix CalculateClaimable for NEP5 NEO
It's not stored as Fixed8, so calculations need to be adjusted for that.
This commit is contained in:
parent
39dfebccc4
commit
3d18f09def
7 changed files with 28 additions and 18 deletions
|
@ -19,7 +19,7 @@ type Blockchainer interface {
|
|||
AddHeaders(...*block.Header) error
|
||||
AddBlock(*block.Block) error
|
||||
BlockHeight() uint32
|
||||
CalculateClaimable(value util.Fixed8, startHeight, endHeight uint32) util.Fixed8
|
||||
CalculateClaimable(value int64, startHeight, endHeight uint32) util.Fixed8
|
||||
Close()
|
||||
HeaderHeight() uint32
|
||||
GetBlock(hash util.Uint256) (*block.Block, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue