diff --git a/examples/src/fungible-token.js b/examples/src/fungible-token.js index ae2c2f93..c983db6d 100644 --- a/examples/src/fungible-token.js +++ b/examples/src/fungible-token.js @@ -33,7 +33,6 @@ export class FungibleToken { internalSendNEAR(receivingAccountId, amountBigInt) { assert(amountBigInt > BigInt("0"), "The amount should be a positive number"); - assert(receivingAccountId != near.currentAccountId(), "Can't transfer to the contract itself"); assert(amountBigInt < near.accountBalance(), `Not enough balance ${near.accountBalance()} to cover transfer of ${amountBigInt} yoctoNEAR`); const transferPromiseId = near.promiseBatchCreate(receivingAccountId); near.promiseBatchActionTransfer(transferPromiseId, amountBigInt);