Skip to content

Commit

Permalink
feature(ops): update send (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
thedoublejay authored Jul 19, 2023
1 parent 633f871 commit 5413504
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 40 deletions.
2 changes: 1 addition & 1 deletion packages/sado-connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
"@headlessui/react": "^1.7.15",
"@sadoprotocol/ordit-sdk": "^0.0.13",
"@sadoprotocol/ordit-sdk": "^0.0.16",
"bitcoinjs-lib": "^6.1.3",
"boring-avatars": "^1.10.1"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/sado-connect/src/hooks/useSend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export function useSend(): [SendFunction, string | null] {
if (!address || !publicKey) throw new Error("No wallet is connected");

const psbtTemplate: CreatePsbtOptions = {
// Use master node by default (BIP32 HD Wallet)
path: "",
format: getAddressType(address, network),
network,
pubKey: publicKey,
Expand Down
87 changes: 50 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5413504

Please sign in to comment.