Skip to content
Snippets Groups Projects
Commit f1f044de authored by Anthony Martin's avatar Anthony Martin
Browse files

Switching api for calls to broadcast_transaction_synchronous.

parent d14fd86e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
```
......
......@@ -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)
#
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment