Skip to content

Commit

Permalink
Merge pull request #10 from palomachain/vbehr/fix
Browse files Browse the repository at this point in the history
fix: remove deprecated flag, update deprecated broadcast mode
  • Loading branch information
verabehr authored Aug 27, 2024
2 parents cba5864 + 72a9fc1 commit ae9a700
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions faucet.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ func getBalance(address string) (amount int64) {
"--node", rpcUrl,
"q", "bank", "balances",
"--output", "json",
"--denom", "ugrain",
"--chain-id", chainID,
address,
)
Expand Down Expand Up @@ -263,7 +262,7 @@ func createGetCoinsHandler(db *leveldb.DB) http.HandlerFunc {
"--node", rpcUrl,
"tx", "bank", "send",
"-y",
"--broadcast-mode", "block",
"--broadcast-mode", "sync",
"--chain-id", chainID,
"--fees", "200000ugrain",
bankAddress,
Expand Down

0 comments on commit ae9a700

Please sign in to comment.