Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
mlibre committed May 31, 2024
1 parent 6838172 commit 564c72d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions dist/library/wallet.js

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

2 changes: 1 addition & 1 deletion dist/library/wallet.js.map

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "goodchain",
"version": "3.0.3",
"version": "3.0.4",
"description": "GoodChain: Blockchain for Everyone",
"main": "index.js",
"type": "module",
Expand Down
1 change: 1 addition & 0 deletions src/library/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Wallet
for ( const tmpTrx of transactionList )
{
const trx = new Transaction( tmpTrx );
trx.validate();
if ( trx.isCoinBase() )
{
const action = await this.addBalance( trx.to, trx.amount );
Expand Down

0 comments on commit 564c72d

Please sign in to comment.