generated/stellar/payment_op.rb in stellar-base-0.0.20 vs generated/stellar/payment_op.rb in stellar-base-0.1.0
- old
+ new
@@ -6,17 +6,17 @@
# === xdr source ============================================================
#
# struct PaymentOp
# {
# AccountID destination; // recipient of the payment
-# Currency currency; // what they end up with
+# Asset asset; // what they end up with
# int64 amount; // amount they end up with
# };
#
# ===========================================================================
module Stellar
class PaymentOp < XDR::Struct
attribute :destination, AccountID
- attribute :currency, Currency
+ attribute :asset, Asset
attribute :amount, Int64
end
end