Skip to content

Commit

Permalink
fix: fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikRevich committed Mar 16, 2024
1 parent 2c5427c commit 9c335f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions wasmsdk/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func initBridge(
tokenAddress,
authorizersAddress,
ethereumAddress,
ethereumNodeURL,
"",
gasLimit,
consensusThreshold,
Expand Down
2 changes: 1 addition & 1 deletion zcnbridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ func (b *BridgeClient) prepareBancor(ctx context.Context, value *big.Int, method
}

gasLimitUnits = addPercents(gasLimitUnits, 10).Uint64()
b

transactOpts := b.CreateSignedTransactionFromKeyStore(b.ethereumClient, gasLimitUnits)
if value.Int64() != 0 {
transactOpts.Value = value
Expand Down

0 comments on commit 9c335f5

Please sign in to comment.