Method: Stellar::Concerns::Transaction#merge

Defined in:
lib/stellar/concerns/transaction.rb

#merge(other) ⇒ Object



21
22
23
24
25
# File 'lib/stellar/concerns/transaction.rb', line 21

def merge(other)
  cloned = from_xdr(to_xdr)
  cloned.operations += other.to_operations
  cloned
end