From f1f044defdb4cc4af4eda4adf6c0725c681dafcc Mon Sep 17 00:00:00 2001 From: Anthony Martin <github@martin-studio.com> Date: Tue, 5 Jun 2018 14:51:10 -0700 Subject: [PATCH] Switching api for calls to broadcast_transaction_synchronous. --- README.md | 2 +- lib/steem/transaction_builder.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f44ae23..f9961f6 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 c6c1125..ed6d99a 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) # # -- GitLab