mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-06-07 06:36:42 +00:00
from float to satoshi (#134)
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
481f929bdf
commit
5f834726b8
@ -1,10 +1,10 @@
|
|||||||
package dao
|
package dao
|
||||||
|
|
||||||
func GetReissuanceCommand(asset_id string, BlockHeight int64) string {
|
func GetReissuanceCommand(asset_id string, BlockHeight int64) string {
|
||||||
return "reissueasset " + asset_id + " 998.69"
|
return "reissueasset " + asset_id + " 99869000000"
|
||||||
}
|
}
|
||||||
|
|
||||||
func IsValidReissuanceCommand(reissuance_str string, asset_id string, BlockHeight uint64) bool {
|
func IsValidReissuanceCommand(reissuance_str string, asset_id string, BlockHeight uint64) bool {
|
||||||
expected := "reissueasset " + asset_id + " 998.69"
|
expected := "reissueasset " + asset_id + " 99869000000"
|
||||||
return reissuance_str == expected
|
return reissuance_str == expected
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user