Skip to content

Commit

Permalink
Merge pull request #27 from helium/madninja/fix_signer
Browse files Browse the repository at this point in the history
Fix signer for payment transaction
  • Loading branch information
madninja authored Jun 2, 2020
2 parents f8f634a + 4c67920 commit 7e5b056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/pay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Cmd {
signature: Vec::new(),
};

let envelope = txn.sign(&keypair, Signer::Owner)?.in_envelope();
let envelope = txn.sign(&keypair, Signer::Payer)?.in_envelope();
let status = if self.commit {
Some(client.submit_txn(&envelope)?)
} else {
Expand Down

0 comments on commit 7e5b056

Please sign in to comment.