Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broadcast tx by internal wallet in payment contract #42

Conversation

oshikawatkm
Copy link
Contributor

When broadcasting Tx in Payment contract, I made a change using the broadcast method of internal_wallet how to use RPC.
This is to fix the bug that Utxo is not created when using the active_record wallet.

Copy link
Contributor

@azuchi azuchi left a comment

Choose a reason for hiding this comment

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

This change should create a record in the UTXO table, and you need to test that the intended data is created.

@oshikawatkm oshikawatkm requested a review from azuchi March 30, 2021 09:50
status: :finalized
)
end
end
Copy link
Contributor

Choose a reason for hiding this comment

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

Payment#transferActiveRecordWalletAdapterを使ってペイメントを行い、UTXOレコードができることをテストするのが目的です。↑は、別のウォレット実装を使ったしたテストになっているので意図したテストになっていません。

@oshikawatkm oshikawatkm requested a review from azuchi March 31, 2021 06:22
@azuchi azuchi merged commit e9cf07d into chaintope:master Mar 31, 2021
oshikawatkm added a commit to oshikawatkm/glueby that referenced this pull request Apr 13, 2021
* broadcast tx by internal wallet in payment contract

* add Utxo.count check on Payment test

* modify broadcast Test in Payment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants