Skip to content

Commit

Permalink
Merge pull request #60 from zsluedem/master
Browse files Browse the repository at this point in the history
transfer ensure bug
  • Loading branch information
zsluedem authored Apr 16, 2020
2 parents 033fa96 + 3518190 commit a166906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rchain/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
@RevVault!("findOrCreate", "$from", *vaultCh) |
@RevVault!("findOrCreate", "$to", *toVaultCh) |
@RevVault!("deployerAuthKey", *deployerId, *revVaultKeyCh) |
for (@(true, vault) <- vaultCh; key <- revVaultKeyCh; @(true, toVault) <- toVaultCh;) {
for (@(true, vault) <- vaultCh; key <- revVaultKeyCh; @(true, toVault) <- toVaultCh) {
@vault!("transfer", "$to", $amount, *key, *resultCh) |
for (_ <- resultCh) { Nil }
}
Expand Down

1 comment on commit a166906

@paul-99
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful work

Please sign in to comment.