Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions modules/sdk-coin-iota/src/iota.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,13 @@ export class Iota extends BaseCoin {
return rebuiltTransaction.signablePayload;
}

/**
* @inheritDoc
*/
allowsAccountConsolidations(): boolean {
return true;
}

/**
* Sets coin-specific fields in the transaction intent.
* @param intent - The populated intent object to modify
Expand Down
4 changes: 4 additions & 0 deletions modules/sdk-coin-iota/test/unit/iota.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ describe('IOTA:', function () {
tiotaStatics.gasTankMinBalanceRecommendationFactor.should.equal(200);
});

it('should support account consolidations', function () {
basecoin.allowsAccountConsolidations().should.equal(true);
});

it('is valid pub', function () {
// with 0x prefix
basecoin.isValidPub('0x9b4e96086d111500259f9b38680b0509a405c1904da18976455a20c691d3bb07').should.equal(false);
Expand Down