Skip to content

Commit 8c8169f

Browse files
committed
cleanup
1 parent cd86950 commit 8c8169f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

clients/token-metadata/coda.config.mjs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
pdaSeedValueNode,
88
pdaValueNode,
99
publicKeyTypeNode,
10-
publicKeyValueNode,
10+
TOKEN_METADATA_PROGRAM_VALUE_NODE,
1111
updateAccountsVisitor,
1212
variablePdaSeedNode,
1313
} from "@macalinao/coda";
@@ -90,10 +90,7 @@ export default defineConfig({
9090
instruction,
9191
account: "metadata",
9292
defaultValue: pdaValueNode(pdaLinkNode("metadata"), [
93-
pdaSeedValueNode(
94-
"programId",
95-
publicKeyValueNode("metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"),
96-
),
93+
pdaSeedValueNode("programId", TOKEN_METADATA_PROGRAM_VALUE_NODE),
9794
pdaSeedValueNode("mint", accountValueNode("mint")),
9895
]),
9996
})),

0 commit comments

Comments
 (0)