fromFeeBumpTransactionEnvelope method
- XdrFeeBumpTransactionEnvelope envelope
Implementation
static FeeBumpTransaction fromFeeBumpTransactionEnvelope(
XdrFeeBumpTransactionEnvelope envelope) {
Transaction inner = Transaction.fromV1EnvelopeXdr(envelope.tx.innerTx.v1);
int fee = envelope.tx.fee.int64;
FeeBumpTransaction feeBump = FeeBumpTransaction(
MuxedAccount.fromXdr(envelope.tx.feeSource), fee, inner);
return feeBump;
}