mirror of
https://github.com/status-im/nim-codex.git
synced 2025-01-12 20:04:13 +00:00
Fix build failure on 32 bit platforms
This commit is contained in:
parent
ee978f354e
commit
753bde7775
@ -10,7 +10,7 @@ export peercontext
|
||||
push: {.upraises: [].}
|
||||
|
||||
const ChainId = 0.u256 # invalid chain id for now
|
||||
const AmountPerChannel = (10^18).u256 # 1 asset, ERC20 default is 18 decimals
|
||||
const AmountPerChannel = (10'u64^18).u256 # 1 asset, ERC20 default is 18 decimals
|
||||
|
||||
func openLedgerChannel*(wallet: var Wallet,
|
||||
hub: EthAddress,
|
||||
|
Loading…
x
Reference in New Issue
Block a user