Skip to content

Commit

Permalink
Fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
BlobMaster41 committed Jan 13, 2025
1 parent 4d82446 commit bbf163b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@btc-vision/btc-runtime",
"version": "1.4.1",
"version": "1.4.2",
"description": "Bitcoin Smart Contract Runtime",
"main": "btc/index.ts",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions runtime/shared-libraries/OP20Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { BytesWriter } from '../buffer/BytesWriter';
import { Blockchain } from '../env';
import { encodeSelector, Selector } from '../math/abi';
import { Address } from '../types/Address';
import { ADDRESS_BYTE_LENGTH, SELECTOR_BYTE_LENGTH } from '../utils/lengths';
import { ADDRESS_BYTE_LENGTH, SELECTOR_BYTE_LENGTH } from '../utils';

export class OP20Utils {
public static get BALANCE_OF_SELECTOR(): Selector {
return encodeSelector('balanceOf');
return encodeSelector('balanceOf(address)');
}

public static balanceOf(token: Address, owner: Address): u256 {
Expand Down

0 comments on commit bbf163b

Please sign in to comment.