We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b0be19 commit 6570db3Copy full SHA for 6570db3
src/model/transaction/Transaction.ts
@@ -200,7 +200,7 @@ export abstract class Transaction {
200
* @returns {TransferTransaction}
201
*/
202
public setMaxFee(feeMultiplier: number): Transaction {
203
- return Object.assign({__proto__: Object.getPrototypeOf(this)}, this, {maxFee: UInt64.fromUint(this.size * feeMultiplier)});
+ return {...Object.getPrototypeOf(this), maxFee: UInt64.fromUint(this.size * feeMultiplier)};
204
}
205
206
/**
0 commit comments