Skip to content

Commit b4847d2

Browse files
author
Test
committed
rm nonsense
1 parent 6f50045 commit b4847d2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/lib/mina/actions/offchain-state.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -512,10 +512,7 @@ function OffchainState<
512512
const memoizedInstances = new Map<String, OffchainStateInstance<Config>>();
513513

514514
return {
515-
init(contractInstance: OffchainStateContract<Config> | null) {
516-
if (contractInstance === null) {
517-
return OffchainStateInstance();
518-
}
515+
init(contractInstance: OffchainStateContract<Config>) {
519516
let key = 'COMPILE_TIME';
520517
let contractAddress = contractInstance.address;
521518
if (contractAddress.isConstant()) {

0 commit comments

Comments
 (0)