examples/04_setting_trust.rb in stellar-sdk-0.4.0 vs examples/04_setting_trust.rb in stellar-sdk-0.5.0
- old
+ new
@@ -1,12 +2 @@
-require 'stellar-sdk'
-
-account = Stellar::Account.from_seed("SBXH4SEH32PENMMB66P4TY6LXUIFMRVFUMX2LJC3P2STHICBJLNQJOH5")
-client = Stellar::Client.default_testnet()
-
-issuer = Stellar::Account.lookup("tips*stellarid.io")
-asset = Stellar::Asset.alphanum4("USD", issuer)
-
-client.trust({
- account: account,
- asset: asset
-})
+# See the spec for `#change_trust` in `spec/lib/stellar/client_spec.rb`