from float to satoshi (#134)

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
Jürgen Eckel 2023-10-10 15:15:10 +02:00 committed by GitHub
parent 481f929bdf
commit 5f834726b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
package dao
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 {
expected := "reissueasset " + asset_id + " 998.69"
expected := "reissueasset " + asset_id + " 99869000000"
return reissuance_str == expected
}