Fix build failure on 32 bit platforms

This commit is contained in:
Mark Spanbroek 2021-04-14 16:27:17 +02:00 committed by markspanbroek
parent ee978f354e
commit 753bde7775
1 changed files with 1 additions and 1 deletions

View File

@ -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,