Skip to content

Commit

Permalink
Merge pull request #2790 from superhero-com/feature/do-not-wait-spend…
Browse files Browse the repository at this point in the history
…-transactions-mined

refactor(aeternity): do not wait transaction mining to finalize transfer
  • Loading branch information
CedrikNikita authored Mar 5, 2024
2 parents 5d632db + 85f0ac2 commit cc93d3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/protocols/aeternity/libs/AeternityAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,10 @@ export class AeternityAdapter extends BaseProtocolAdapter {
return aeSdk.spendWithCustomOptions(
amount,
recipient as Encoded.AccountAddress,
{ payload: encode(Buffer.from(options.payload), Encoding.Bytearray) },
{
waitMined: false,
payload: encode(Buffer.from(options.payload), Encoding.Bytearray),
},
);
}

Expand Down

0 comments on commit cc93d3d

Please sign in to comment.