Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
BroProgramerWeb3 committed Dec 24, 2023
1 parent 83270f2 commit a8ea183
Show file tree
Hide file tree
Showing 135 changed files with 941 additions and 1,417 deletions.
Binary file modified .DS_Store
Binary file not shown.
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ app.post('/api/transact', (req, res) => {
if (transaction) {
transaction.update({ senderWallet: wallet, recipient, amount });
} else {
transaction = wallet.createTransaction({ recipient, amount });
transaction = wallet.createTransaction({
recipient,
amount,
chain: blockchain.chain
});
}
} catch(error) {
return res.status(400).json({ type: 'error', message: error.message });
Expand Down
293 changes: 69 additions & 224 deletions node_modules/.package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions node_modules/@babel/code-frame/lib/index.js

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

2 changes: 1 addition & 1 deletion node_modules/@babel/code-frame/lib/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions node_modules/@babel/code-frame/package.json

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

26 changes: 21 additions & 5 deletions node_modules/@babel/generator/lib/buffer.js

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

2 changes: 1 addition & 1 deletion node_modules/@babel/generator/lib/buffer.js.map

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions node_modules/@babel/generator/lib/generators/statements.js

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

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions node_modules/@babel/generator/lib/generators/types.js

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

Loading

0 comments on commit a8ea183

Please sign in to comment.