-
Notifications
You must be signed in to change notification settings - Fork 1
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
updating the deposit to no longer accept funds from the investor. #3
Conversation
…tead, it will pull the funds from the investor's address. it is assumed that all the funds committed are being deposited - for now
is this a work around to not being to sending restricted marker with a contract exec message as funds? |
.expect("Should not throw error"); | ||
assert_eq!(0, response.messages.len()); | ||
assert_eq!(1, response.messages.len()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add any assertions to ensure we have the correct sender / recipient relationship on the marker transfer message?
Yes - before, the funds were being sent along with the message - and investors can't send restricted markers (usd.deposit) |
instead, it will pull the funds from the investor's address. it is assumed that all the funds committed are being deposited - for now