Skip to content

Commit

Permalink
♻️ Set Default Value for data in build_transaction
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed Oct 17, 2024
1 parent 64160ab commit 3933946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ build_transaction() {
local nonce="$4"
local gas_limit="$5"
local gas_price="$6"
local data="${7}"
local data="${7:-}"

# Note that `--gas-price` is the maximum fee per gas for EIP-1559
# transactions. See here: https://book.getfoundry.sh/reference/cli/cast/mktx.
Expand Down

0 comments on commit 3933946

Please sign in to comment.