Skip to content
Browse files

"setting trust" example points to the spec

It was wrong anyway; `trust` was not implemented *and* is a Ruby kernel method
  • Loading branch information...
ramontayag committed May 17, 2018
1 parent 05a4d03 commit c4a6cd8691a02516146c4c361b10cb1c3cfa432a
Showing with 1 addition and 12 deletions.
  1. +1 −12 examples/04_setting_trust.rb
@@ -1,12 +1 @@
require 'stellar-sdk'

account = Stellar::Account.from_seed("SBXH4SEH32PENMMB66P4TY6LXUIFMRVFUMX2LJC3P2STHICBJLNQJOH5")
client = Stellar::Client.default_testnet()

issuer = Stellar::Account.lookup("tips*")
asset = Stellar::Asset.alphanum4("USD", issuer){
account: account,
asset: asset
# See the spec for `#change_trust` in `spec/lib/stellar/client_spec.rb`

0 comments on commit c4a6cd8

Please sign in to comment.
You can’t perform that action at this time.