Fix mtcs-intent obligation bug
This commit is contained in:
parent
c5056ac477
commit
ecb45ce3ce
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ impl TryFrom<RawObligation> for Obligation {
|
||||||
Ok(Self {
|
Ok(Self {
|
||||||
debtor: VerifyingKey::from_sec1_bytes(raw_obligation.debtor.as_slice())
|
debtor: VerifyingKey::from_sec1_bytes(raw_obligation.debtor.as_slice())
|
||||||
.map_err(|e| e.to_string())?,
|
.map_err(|e| e.to_string())?,
|
||||||
creditor: VerifyingKey::from_sec1_bytes(raw_obligation.debtor.as_slice())
|
creditor: VerifyingKey::from_sec1_bytes(raw_obligation.creditor.as_slice())
|
||||||
.map_err(|e| e.to_string())?,
|
.map_err(|e| e.to_string())?,
|
||||||
amount: raw_obligation.amount,
|
amount: raw_obligation.amount,
|
||||||
salt,
|
salt,
|
||||||
|
|
Loading…
Reference in a new issue