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

Make the calling processes of wasm and golang consistent #25

Closed
wants to merge 6 commits into from

Conversation

nick-zkp
Copy link
Contributor

No description provided.

@nick-zkp nick-zkp requested a review from Fred0327 October 11, 2023 04:57
Comment on lines +10 to +13
#[wasm_bindgen]
pub struct Transfer {
inner: TransferTx,
}
Copy link
Contributor

Choose a reason for hiding this comment

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

impl From<TransferTx> for Transfer{

}

Comment on lines 55 to 60
#[wasm_bindgen]
pub fn build_transfer(self) -> Transfer {
Transfer {
inner: TransferTx::new(self.inner),
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

rename function name to build(&self)

@Fred0327 Fred0327 closed this Nov 6, 2023
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