mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-16 22:18:53 +08:00
stacks token fee is an int, not a float
This commit is contained in:
@@ -222,8 +222,10 @@ def check( state_engine, nameop, block_id, checked_ops ):
|
||||
os.abort()
|
||||
|
||||
stacks_price = price_name(name_without_namespace, namespace, block_id)
|
||||
stacks_price = int(stacks_price)
|
||||
|
||||
else:
|
||||
# QUIRK: keep this as a float due to backwards-compatibility
|
||||
bitcoin_price = price_name(name_without_namespace, namespace, block_id)
|
||||
|
||||
nameop['sender'] = recipient
|
||||
|
||||
Reference in New Issue
Block a user