Skip to content

Commit

Permalink
Merge pull request #3802 from BitGo/fix/cosmos-valueless-transfer
Browse files Browse the repository at this point in the history
fix(abstract-cosmos): allow valueless transfer for cosmos coin
  • Loading branch information
ajays97 authored Aug 14, 2023
2 parents afb58d6 + 7aa6752 commit 8abfd35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/sdk-coin-osmo/src/osmo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,9 @@ export class Osmo extends CosmosCoin {
getAddressFromPublicKey(publicKey: string): string {
return new KeyPair({ pub: publicKey }).getAddress();
}

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

0 comments on commit 8abfd35

Please sign in to comment.