Skip to content

Commit

Permalink
Bump seqno in sep7 replace (#22718)
Browse files Browse the repository at this point in the history
* Bump seqno in sep7 replace

* Change not signed banner to yellow
  • Loading branch information
patrickxb authored and cjb committed Feb 25, 2020
1 parent cf82db8 commit faa9edd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions go/stellar/stellarsvc/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,9 @@ func (s *Server) ApproveTxURILocal(ctx context.Context, arg stellar1.ApproveTxUR
if err != nil {
return "", err
}

// need to bump the seqno:
txEnv.Tx.SeqNum++
}

// sign it
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions shared/wallets/sep7-confirm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ const Header = (props: HeaderProps) => (
)}
{!props.signed && (
<Kb.Box2 direction="vertical" fullWidth={true}>
<Kb.Banner color="red">
<Kb.Banner color="yellow">
<Kb.BannerParagraph
bannerColor="red"
bannerColor="yellow"
content="This link does not have an attached signature! Ensure that you trust the source of this link."
/>
</Kb.Banner>
Expand Down

0 comments on commit faa9edd

Please sign in to comment.