Skip to content

Commit 25c81c7

Browse files
committedApr 2, 2024
Add default value for decimals
1 parent 90ab0f7 commit 25c81c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎apps/web/src/lib/contract-loader.ts

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export const ContractMetaStoreLive = Layer.effect(
119119
prisma.contractMeta.create({
120120
data: {
121121
...contractMeta,
122+
decimals: contractMeta.decimals ?? 0,
122123
address: normAddress,
123124
chainID: chainID,
124125
},

0 commit comments

Comments
 (0)