-
Notifications
You must be signed in to change notification settings - Fork 149
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
feat: support multiple recipients in rpc send transfer method, closes #5174 #5178
Conversation
message: RpcRequest<'sendTransfer', RpcSendTransferParams | SendTransferRequestParams>, | ||
port: chrome.runtime.Port | ||
) { | ||
let params = message.params as RpcSendTransferParams; |
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.
Imperative coding style. How can we do without reassigning var?
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.
refactored a bit
but left variable, we need to assign somewhere converted params 🤔
38cdc52
to
cbb7159
Compare
@alter-eggo is there a way to test this in the test app or elsewhere? |
@markmhendrickson yes, I've added btn to test app |
@kyranjamie fixed, problem is on current dev as well |
2cc50d2
to
6fd3bc3
Compare
@alter-eggo For updating the docs: It seems the developer can continue passing a string address value as |
@markmhendrickson yes, it's backwards compatible |
I'm seeing now that previously / currently we have |
by backwards compatible I mean even if you pass
|
This pr supports multiple recipients in rpc send transfer method