Skip to content

Commit

Permalink
chore: deprecate std.GetOrigCaller
Browse files Browse the repository at this point in the history
Signed-off-by: Norman Meier <[email protected]>
  • Loading branch information
n0izn0iz committed Oct 4, 2024
1 parent 8a62a28 commit dbe1060
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gnovm/stdlibs/std/native.gno
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ func GetOrigSend() Coins {
return coins
}

// Deprecated: Unsecure and limiting pattern
func GetOrigCaller() Address {
return Address(origCaller())
}
Expand Down

0 comments on commit dbe1060

Please sign in to comment.