diff --git a/README.md b/README.md index f44ae2396b6768c64e583bd1fb0cb51243292fcc..f9961f6b7201de3e1f9432e815a9e592419c0849 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ Then send the contents of `trx.json` to the other signing party so they can priv ```ruby trx = open('trx.json').read builder = Steem::TransactionBuilder.new(wif: wif2, trx: trx) -api = Steem::NetworkBroadcastApi.new +api = Steem::CondenserApi.new trx = builder.transaction api.broadcast_transaction_synchronous(trx: trx) ``` diff --git a/lib/steem/transaction_builder.rb b/lib/steem/transaction_builder.rb index c6c1125c9659fda63d2e69919196d1c6e773e0fb..ed6d99ab39f37de678c0af3fd1b51fd13928dd4b 100644 --- a/lib/steem/transaction_builder.rb +++ b/lib/steem/transaction_builder.rb @@ -15,7 +15,7 @@ module Steem # }) # # trx = builder.transaction - # network_broadcast_api = Steem::NetworkBroadcastApi.new + # network_broadcast_api = Steem::CondenserApi.new # network_broadcast_api.broadcast_transaction_synchronous(trx: trx) # #