Skip to content

Commit

Permalink
env usage fix
Browse files Browse the repository at this point in the history
  • Loading branch information
volovyks committed Jun 1, 2022
1 parent 4ab7317 commit 5d6010c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/template/src/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {NearContract, NearBindgen, call, view} from 'near-sdk-js'
import {NearContract, NearBindgen, near, call, view} from 'near-sdk-js'
import {isUndefined} from 'lodash-es'

@NearBindgen
Expand Down
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const U64_MAX = 2n**64n - 1n
const EVICTED_REGISTER = U64_MAX - 1n

export function log(message) {
near.log(message)
env.log(message)
}

export function signerAccountId() {
Expand Down

0 comments on commit 5d6010c

Please sign in to comment.